<?php
namespace app\send\behavior;

/**
 * 图形验证码
 */
class CaptchaBehavior
{
	/**
	 * [图形验证码]
	 * @param  [type] &$code [验证码]
	 * @return [boolen] true 验证成功 false 验证失败
	 */
	public function run(&$code){
		if(!empty($code)){
			return cmf_captcha_check($code);
		}
		return true;		
	}
	
}

